#include <iostream>
using namespace std;



class MyType1 {
	int x_;
public:
	MyType1 () {
		cout << "default constructor\n";
	}
	MyType1(int x) {
		cout << "constructor with parameter\n";
	}
	MyType1 (const MyType1& copyFrom) {
		cout << "copy constructor\n";
	}

	MyType1 & operator= (const MyType1& other) {
		cout << "assignment operator\n";
	}
};


int main () {
	MyType1 m1;
	MyType1 m2 = 3;
	m2 = m1;
	MyType1 m3 = m1;
}
